export default {
    name: "i-data",
    data() {
        return {
            loading: false,
            data: {areas:[]},
            ruleValidate: {
                customer_id: [{required: true, type: 'number', message: "必须填写"},],
                express_id: [{required: true, type: 'number', message: "必须填写"},],
                areas: [{required: true, type: 'array', message: "必须填写"}, {len: 3, type: 'array', message: "格式不正确"}],
                address: [{required: true, message: "必须填写"}, {max: 100, message: "不能超过100个字符!"}],
                phone: [{required: true, message: "必须填写"}, {max: 20, message: "不能超过20个字符!"}],
                contacts: [{required: true, message: "必须填写"}, {max: 50, message: "不能超过50个字符!"}],
                remark: [{max: 1000, message: "不能超过1000个字符!"}],
            }
        }
    }
}
